package com.showcai.module;

import java.util.List;

public class Order extends BaseModule {

    public final  static byte ORDER_SOURCE_WEB=1;      // 来源网站
    public final  static  byte ORDER_SOURCE_WECHAT=2;   // 来源微信
    public final  static  byte ORDER_SOURCE_IMPORT=3;   // 来源后台导入

    private Long orderId;

    private Long userId;

    private Integer orderPrice;

    private Byte orderSourceId;
    private List<Long> activityIdList;


    private String refundReason;
    private String distributionName;
    private String distributionPhone;


    private Byte payMode;

    public Byte getPayMode() {
        return payMode;
    }

    public void setPayMode(Byte payMode) {
        this.payMode = payMode;
    }

    private List<OrderItem> orderItemList;
    private List<Payment> paymentList;

    public List<Payment> getPaymentList() {
        return paymentList;
    }

    public void setPaymentList(List<Payment> paymentList) {
        this.paymentList = paymentList;
    }

    public List<OrderItem> getOrderItemList() {
        return orderItemList;
    }

    public void setOrderItemList(List<OrderItem> orderItemList) {
        this.orderItemList = orderItemList;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Integer orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Byte getOrderSourceId() {
        return orderSourceId;
    }

    public void setOrderSourceId(Byte orderSourceId) {
        this.orderSourceId = orderSourceId;
    }

    public List<Long> getActivityIdList() {
        return activityIdList;
    }

    public void setActivityIdList(List<Long> activityIdList) {
        this.activityIdList = activityIdList;
    }

    public String getDistributionName() {
        return distributionName;
    }

    public void setDistributionName(String distributionName) {
        this.distributionName = distributionName;
    }

    public String getDistributionPhone() {
        return distributionPhone;
    }

    public void setDistributionPhone(String distributionPhone) {

        this.distributionPhone = distributionPhone;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", userId=" + userId +
                ", orderPrice=" + orderPrice +
                ", orderSourceId=" + orderSourceId +
                ", refundReason='" + refundReason + '\'' +
                ", distributionName='" + distributionName + '\'' +
                ", distributionPhone='" + distributionPhone + '\'' +
                ", orderItemList=" + orderItemList +
                '}';
    }
}